import { ref, reactive, watch } from 'vue'
export default class testObj {
  constructor() {
    this.list = reactive([])
    watch(
      this.list,
      () => {
        console.log(`需改了list1234`)
      }
      //{
      //deep: true //函数需要使用deep
      //}
    )
  }
  add() {
    this.list.push(this.list.length)
  }
}
